#ifndef ADMINWIDGET_H
#define ADMINWIDGET_H

#include <QWidget>
#include "devicemgt.h"
#include <QStackedWidget>

namespace Ui {
class AdminWidget;
}

class AdminWidget : public QWidget
{
    Q_OBJECT

public:
    explicit AdminWidget(QWidget *parent = nullptr);
    ~AdminWidget();

public slots:
    void onAdminName(const QString &UserName);

private:
    Ui::AdminWidget *ui;
    DeviceMgt *m_pDM;
    QStackedWidget *m_stackedWidget;
};

#endif // ADMINWIDGET_H
